﻿using Abp.Application.Services.Dto;
using SingleUserMall.Common;
using SingleUserMall.Dividends.Form;
using SingleUserMall.Dividends.VO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Dividends
{
    /// <summary>
    /// 分红管理
    /// </summary>
    [Description("分红管理")]
    public interface IDividendManageAppService:IManageService
    {

        /// <summary>
        /// 获取分红比例列表信息
        /// </summary>
        /// <param name="form"></param>
        /// <returns></returns>
        Task<PagedResultDto<DividendVO>> GetDividendsAsync(PagedForm form);

        /// <summary>
        /// 保存分红比列
        /// </summary>
        /// <param name="form"></param>
        /// <returns></returns>
        Task SaveDividendsAsync(DividendForm form);

    }
}
